//
// Created by 17775 on 2024/11/4.
//

#ifndef RAYCI_HISTOGRAMDATARECEIVEQUEUEOBSERVER_H
#define RAYCI_HISTOGRAMDATARECEIVEQUEUEOBSERVER_H

#include "HistogramDataReceiveListener.h"
#include "AbstractQueueObserver.h"

class HistogramDataReceiveQueueObserver : public AbstractQueueObserver<HistogramDataReceiveListener, std::shared_ptr<PowerProfileData<QVector<double>>>>  {
protected:
    void notifyValueToListener(HistogramDataReceiveListener* listener, const std::shared_ptr<PowerProfileData<QVector<double>>>& data) const override {
        listener->receiveMessage(data);
    }
};


#endif //RAYCI_HISTOGRAMDATARECEIVEQUEUEOBSERVER_H
